<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib prefix="f" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path=request.getContextPath();
%>    

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

	
	<link href="/resources/css/bootstrap-4.3.1/css/bootstrap.css" rel="stylesheet">
	<script type="text/javascript" src="/resources/js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="/resources/js/jquery.form.js"></script>
	<script type="text/javascript" src="/resources/js/jquery.validate.js"></script>

</head>
<body>

			
	<table class = "table">
		<tr>
			<td>订单编号</td>
			<td>交易号</td>
			<td>客户编号</td>
			<td>商户编码</td>
			<td>商户名称</td>
			<td>订单状态</td>
			<td>用户售后状态</td>
			<td>商品数量</td>
			<td>商品总价</td>
			<td>实际付款金额</td>
			<td>运费金额</td>
			<td>收货地址编码</td>
			<td>支付渠道</td>
			<td>订单支付单号</td>
			<td>第三方支付流水号</td>
			<td>付款时间</td>
			<td>发货时间</td>
			<td>订单结算状态</td>
			<td>订单结算时间</td>
			<td>是否是套餐</td>
			<td>是否积分产品</td>
			<td>电话号码</td>
			<td>修改时间</td>
			<td>删除时间</td>
			<td>操作</td>
		
		</tr>
		<tr>
			<td>
					<input type = "checkbox" class = "delList" name = "ids" value = "${order.id }">
				</td>
				<td>${order.order_no }</td>
				<td>${order.order_sn }</td>
				<td>${order.member_id }</td>
				<td>${order.supplier_id }</td>
				<td>${order.supplier_name}</td>
				<td>
					<select name= "order_status">
						<option value="">未选择</option>
						<option value="0" ${order.order_status == 0 ?'selected':'' }>未付款</option>
						<option value="1" ${order.order_status == 1 ?'selected':'' }>已付款</option>
						<option value="2" ${order.order_status == 2 ?'selected':'' }>已发货</option>
						<option value="3" ${order.order_status == 3 ?'selected':'' }>已签收</option>
						<option value="-1" ${order.order_status == -1 ?'selected':'' } >退货申请</option>
						<option value="-2" ${order.order_status == -2 ?'selected':'' }>退货中</option>
						<option value="-3" ${order.order_status == -3 ?'selected':'' }>已退货</option>
						<option value="-4" ${order.order_status == -4 ?'selected':'' }>取消交易</option>
					</select>
				
				
				</td>
				<td>
				
					<select name = "after_status">
						<option value="">未选择</option>
						<option value="0" ${order.after_status == 0 ?'selected':'' }>未发起售后</option>
						<option value="1" ${order.after_status == 1 ?'selected':'' }>申请售后</option>
						<option value="-1" ${order.after_status == -1 ?'selected':'' }>售后已取消</option>
						<option value="2" ${order.after_status == 2 ?'selected':'' }>处理中</option>
						<option value="200" ${order.after_status == 200 ?'selected':'' }>处理完毕</option>
					</select>
				
				
				</td>
				<td>${order.product_count }</td>
				<td>${order.product_amount_total }</td>
				<td>${order.order_amount_total }</td>
				<td>${order.logistics_fee }</td>
				<td>${order.address_id }</td>
				<td>
					<select name = "pay_channel">
						<option value="">未选择</option>
						<option value="0" ${order.pay_channel == 0 ?'selected':'' }>余额</option>
						<option value="1" ${order.pay_channel == 1 ?'selected':'' }>微信</option>
						<option value="2" ${order.pay_channel == 2 ?'selected':'' }>支付宝</option>			
					</select>
				</td>
				<td>${order.out_trade_no }</td>
				<td>${order.escrow_trade_no }</td>
				<td>${order.pay_time }</td>
				<td>${order.delivery_time }</td>
				<td>
					<select name = "order_settlement_status">
						<option value="">未选择</option>
						<option value="0" ${order.order_settlement_status == 0 ?'selected':'' }>未结算</option>
						<option value="1" ${order.order_settlement_status == 1 ?'selected':'' }>已结算</option>
					</select>
				
				</td>
				<td>${order.order_settlement_time }</td>
				<td>${order.is_package }</td>
				<td>${order.is_integral }</td>
				<td>${order.telphone }</td>
				<td>${order.updated_at }</td>
				<td>${order.deleted_at }</td>
				<td>
					<select>
					
						<option value = "" >请选择</option>
						<option value = "0"${order.deleted_status == 0?'selected':'' }>未删除</option>
						<option value = "1"${order.deleted_status == 1?'selected':'' }>删除</option>
					
					</select>
				</td>
		
		
		
		
		</tr>
	
	
	
	
	</table>



</body>
</html>